package com.yueqian.xml.myTest;

import java.util.Date;

/**
 * @author shkstart
 * @create 2021-02-02 18:30
 */
public class Account {
    private String name;
    private double money;
    private String type;
    private Date accDate;
    private boolean gender;

    public Account(String name, double money, String type, Date accDate, boolean gender) {
        this.name = name;
        this.money = money;
        this.type = type;
        this.accDate = accDate;
        this.gender = gender;
    }

    @Override
    public String toString() {
        return "Account{" +
                "name='" + name + '\'' +
                ", money=" + money +
                ", type='" + type + '\'' +
                ", accDate=" + accDate +
                ", gender='" + gender + '\'' +
                '}';
    }

    public boolean getGender() {
        return gender;
    }

    public void setGender(boolean gender) {
        this.gender = gender;
    }

    public Account() {
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getMoney() {
        return money;
    }

    public void setMoney(double money) {
        this.money = money;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Date getAccDate() {
        return accDate;
    }

    public void setAccDate(Date accDate) {
        this.accDate = accDate;
    }
}
